package com.example.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用于Excel表的药品信息
 *
 * @author: liu
 * 2022-03-20-15:53
 **/

@Data
public class MI_Table {

    @ExcelProperty("药品id")
    @ExcelIgnore
    private Integer m_id;

    @ExcelProperty("药品通用名")
    private String m_name;

    @ExcelProperty("药品库存")
    private Integer m_inventory;

    @ExcelProperty("药品单位")
    private String m_unit;

    @ExcelProperty("药品规格")
    private String m_specification;

    @ExcelProperty("药品单价（元）")
    private double m_price;

    @ExcelProperty("药品总价（元）")
    private double m_amount;

    @ExcelProperty("进购件数")
    private Integer m_purchasenum;

    @ExcelProperty("生产厂家")
    private String m_manufacturer;

    @ExcelProperty("功能主治")
    private String m_majorfunction;

    @ExcelProperty("不良反应")
    private String m_adversereaction;

    @ExcelProperty("禁忌")
    private String m_taboos;

    @ExcelProperty("有效期")
    private String m_validuntil;

    @ExcelProperty("药品种类")
    private String m_kinds;

    @ExcelProperty("条形码")
    private String m_batchnum;

    @ExcelProperty("批准文号")
    private String m_approvalnum;

    @ExcelProperty("是否非处方药")
    private String m_otc;

    @ExcelProperty("用户id")
    private Integer m_userid;

    @ExcelProperty("")
    @ExcelIgnore
    private Integer kindNum;
}
